<div class="process-bar">
    <div>
        <span *ngFor="let item of defaultSet,let i =index" [ngClass]="{iconstate: item.state === 0,finished: item.finished}">
          <i [ngClass]="{iconstate: item.state === 0 && !item.finished,iconfinish:item.finished}" class="iconfont icon-step{{i+1}}"></i>
          <label [ngClass]="{processing:item.state == 0 && item.finished}"></label>
          <p [ngClass]="{iconstate:item.state === 0 && !item.finished,finish:item.state === 0 && item.finished}">{{ item.name }}</p>
        </span>
    </div>
</div>